/*
 * @Author: your name
 * @Date: 2022-03-29 17:59:02
 * @LastEditTime: 2022-03-29 18:05:28
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \erp_background_system\src\router\employeeRouter.js
 */

import List from "../views/addressList/List"
import GeneralManager from "../views/addressList/GeneralManager"
import FinanceDepartment from "../views/addressList/FinanceDepartment"
import BusinessDepartmentOne from "../views/addressList/BusinessDepartmentOne"
import BusinessDepartmentTwo from "../views/addressList/BusinessDepartmentTwo"
import InvestmentPromotionDepartment from "../views/addressList/InvestmentPromotionDepartment"
import MarketingDepartment from "../views/addressList/MarketingDepartment"
import PurchasingDepartment from "../views/addressList/PurchasingDepartment"
import CustomerServiceDepartment from "../views/addressList/CustomerServiceDepartment"
import Resigned from "../views/addressList/Resigned"

const addressListRouter = [{
        path: '/addressList',
        title: '内部通讯录',
        children: [{
                path: '/addressList/List',
                title: '通讯录列表',
                element: < List/>
            },
            {
                path: '/addressList/GeneralManager',
                title: '总经办',
                element: < GeneralManager/>
            },
            {
                path: '/addressList/FinanceDepartment',
                title: '财务部',
                element: < FinanceDepartment/>
            },
            {
                path: '/addressList/BusinessDepartmentOne',
                title: '业务一部',
                element: < BusinessDepartmentOne/>
            },
            {
                path: '/addressList/BusinessDepartmentTwo',
                title: '业务二部',
                element: < BusinessDepartmentTwo/>
            },
            {
                path: '/addressList/InvestmentPromotionDepartment',
                title: '渠道招商部',
                element: < InvestmentPromotionDepartment/>
            },
            {
                path: '/addressList/MarketingDepartment',
                title: '营销部',
                element: < MarketingDepartment/>
            },
            {
                path: '/addressList/PurchasingDepartment',
                title: '采购部',
                element: < PurchasingDepartment/>
            },
            {
                path: '/addressList/CustomerServiceDepartment',
                title: '客服部',
                element: < CustomerServiceDepartment/>
            },
            {
                path: '/addressList/Resigned',
                title: '已离职',
                element: < Resigned/>
            },
        ]
    }

]
export default addressListRouter